FROM alpine:3.3

RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories

ADD run.sh                 /root/run.sh
ADD oracle                 /root/data/oracle
ADD db2                    /root/data/db2
ADD instantclient_21_10    /root/data/instantclient
ADD db2_run2.sh            /root/data/db2_run2.sh
ADD db2_run3.sh            /root/data/db2_run3.sh

WORKDIR /root

CMD ["/bin/sh", "-c", "/root/run.sh"]
